//
//  LXTabBarController.h
//  SevenFM
//
//  Created by seven on 2018/4/24.
//  Copyright © 2018年 seven. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LXTabBarController : UITabBarController

/**
 获取单利对象

 @return tabBarController
 */
+ (instancetype)shareInstance;

/**
 添加子控制器的block

 @param addVcBlock 添加代码块
 @return tabBarController
 */
+ (instancetype)tabBarControllerWithAddChildVcsBlock:(void(^)(LXTabBarController *tabBarc))addVcBlock;

/**
 添加子控制器

 @param vc 子控制器
 @param normalImageName 普通状态下图片
 @param selectedImageName 选中图片
 @param isRequired 是否需要导航控制器
 @return tabBarController
 */
- (void)addChildVC: (UIViewController *)vc normalImageName: (NSString *)normalImageName selectedImageName: (NSString *)selectedImageName isRequiredNavController: (BOOL)isRequired;

@end
